package io.rong.imkit.webview

import android.app.Activity
import android.os.Bundle
import android.webkit.JavascriptInterface
import android.webkit.WebView
import com.custom.base.entity.OkHttpBodyEntity
import com.custom.base.http.OkHttpFromBoy
import com.custom.base.http.OkHttpManager
import com.custom.base.http.SDOkHttpResoutCallBack
import com.custom.base.util.IntentUtil


/**
 * @author zxp
 * @since 9/6/22
 */
class JavaScriptMethod {
    private var mContext: Activity? = null
    private var mWebView: WebView? = null

    constructor(mContext: Activity?, mWebView: WebView?) {
        this.mContext = mContext
        this.mWebView = mWebView
    }

    /*Android4.2之后 必须加本注解,不加 H5 不能调用 Kotlin的方法 */
    @JavascriptInterface
    fun jumpPage(action: String) {
        when (action) {
        }
    }
}